//
//  MMTableViewCell.m
//  Gunz
//
//  Created by Joggy on 16/5/23.
//  Copyright © 2016年 NUPT. All rights reserved.
//

#import "MMTableViewCell.h"
#import "GZConst.h"

@implementation MMTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    _infoLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, screenWidth*0.6, self.frame.size.height)];
    _infoLabel.layer.position = CGPointMake(screenWidth - 18 - _infoLabel.frame.size.width/2, self.frame.size.height/2);
    _infoLabel.textAlignment = NSTextAlignmentRight;
    _infoLabel.font = [UIFont systemFontOfSize:14];
    _infoLabel.textColor = TEXT_DETAIL_COLOR;
    [self.contentView addSubview:_infoLabel];
    return self;
}

@end
